package writeor.aidraw.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import writeor.aidraw.dao.GenerateDao;
import writeor.aidraw.model.AiImages;
import writeor.aidraw.model.Generate_Post;
import writeor.aidraw.service.GenerateService;

@Service
public class GenerateServiceImpl implements GenerateService {
    @Autowired
    public GenerateDao generateDao;

    @Override
    public int GenerateImg(AiImages aiImages) {
        //存图片和作者到数据库


        return generateDao.OutNewImgInfo(aiImages);

    }
}
